package com.jingtao.product.domain;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName:
 * @Description:
 * @Author: zengfanzhen
 * @Date: 2024/3/28 10:10:25
 */
import javax.validation.constraints.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Data
public class ProductFullReduction {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "商品ID")
    private Long productId;

    @ApiModelProperty(value = "满足金额")
    @DecimalMin(value = "0.00", message = "满足金额必须大于等于0")
    private BigDecimal fullPrice;

    @ApiModelProperty(value = "减少金额")
    @DecimalMin(value = "0.00", message = "减少金额必须大于等于0")
    private BigDecimal reducePrice;
}

